package chapter67;
/*
 * 学员类
 */

public class Students {
	// 属性：学员姓名 学员年龄 学员所在班级 兴趣
	String studentName;
	int studentAge;
	int classes;
	String hobby;
	int score;

	// 方法： 介绍学员信息
	public void show() {
		System.out.println("学员姓名：" + studentName);
		System.out.println("学员年龄：" + studentAge);
		System.out.println("就读班级：" + classes);
		System.out.println("爱好：" + hobby);

	}

	public static void main(String[] args) {
		Students firstStudent = new Students();
		firstStudent.studentName = "李四";
		firstStudent.studentAge = 3;
		firstStudent.classes = 2;
		firstStudent.hobby = "网球";
		firstStudent.show();

	}

}
